package com.hgnu.dorm.service;

import com.hgnu.dorm.domain.dto.BuildingPageQueryDto;
import com.hgnu.dorm.domain.po.Building;
import com.hgnu.dorm.domain.po.PageBean;
import org.springframework.stereotype.Service;

@Service
public interface BuildingService {
    //分页查询
    PageBean page(BuildingPageQueryDto dto);
    //新增楼宇
    void insertBuilding(Building building);
    //修改楼宇
    void updateBuilding(Building building);
    //删除楼宇
    void deleteBuilding(Long[] ids);
    //根据id查询
    Building getById(Integer id);
}
